package cn.gzjp.modules.logis.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.gzjp.common.persistence.Page;
import cn.gzjp.common.service.CrudService;
import cn.gzjp.modules.logis.entity.LogisMapLine;
import cn.gzjp.modules.logis.dao.LogisMapLineDao;

/**
 * 行车线路Service
 * @author zengcp
 * @version 2018-04-22
 */
@Service
@Transactional(readOnly = true)
public class LogisMapLineService extends CrudService<LogisMapLineDao, LogisMapLine> {

	public LogisMapLine get(String id) {
		return super.get(id);
	}
	
	public List<LogisMapLine> findList(LogisMapLine logisMapLine) {
		return super.findList(logisMapLine);
	}
	
	public Page<LogisMapLine> findPage(Page<LogisMapLine> page, LogisMapLine logisMapLine) {
		return super.findPage(page, logisMapLine);
	}
	
	@Transactional(readOnly = false)
	public void save(LogisMapLine logisMapLine) {
		super.save(logisMapLine);
	}
	
	@Transactional(readOnly = false)
	public void delete(LogisMapLine logisMapLine) {
		super.deleteByLogic(logisMapLine);
	}
	
}